package org.aptech.hdax.pojo;

import java.io.Serializable;
import java.sql.Time;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Attendence implements Serializable {
    private Integer attendId;

    private Integer sex;
    
    private String staffname;

    private Department department;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date attenddate;

    private Time attendin;

    private Time attendout;

    private String remark;
    
    public Attendence() {
		super();
	}

	public Integer getAttendId() {
		return attendId;
	}

	public void setAttendId(Integer attendId) {
		this.attendId = attendId;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getStaffname() {
		return staffname;
	}

	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}

	public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public Date getAttenddate() {
		return attenddate;
	}

	public void setAttenddate(Date attenddate) {
		this.attenddate = attenddate;
	}

	public Time getAttendin() {
		return attendin;
	}

	public void setAttendin(Time attendin) {
		this.attendin = attendin;
	}

	public Time getAttendout() {
		return attendout;
	}

	public void setAttendout(Time attendout) {
		this.attendout = attendout;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
    
}